package com.shiguiwu.springmybatis.designpattern.bridge;

/**
 * @description: 活期账户
 * @author: stone
 * @date: Created by 2021/3/5 21:21
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.bridge
 */
public class SavingAccount implements Account {
    @Override
    public Account openAccount() {
        System.out.println("打开一个活期账户。。。。。。");
        return new SavingAccount();
    }

    @Override
    public void showAccountType() {
        System.out.println("这个一个活期账户");
    }
}
